// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config

// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`

module.exports = {
  siteName: 'LpBlog',
  plugins: [
    {
      use: '@gridsome/source-filesystem',
      options: {
        typeName: 'Readme',
        path: './src/assets/*.md',
        remark: {

        }
      }
    }
  ],
  templates: {
    Gists: [
      {
        path: '/gist/:id',
        component: './src/templates/Blog.vue'
      }
    ],
    Projects: [
      {
        path: '/repo/:id',
        component: './src/templates/Project.vue'
      }
    ],
    Followers: [
      {
        path: '/person/:login',
        component: './src/templates/Person.vue'
      }
    ],
    Following: [
      {
        path: '/person/:login',
        component: './src/templates/Person.vue'
      }
    ]
  }
}
